package com.jlcindia;

public class OOPTest29 {
	public static void main(String[] args) {
		new Outer29().show();
	}
}
class Outer29{
	
	void show(){
		System.out.println("\n**show() of Outer29**");
		final int xy=29;//only final modifier can be used
		//System.out.println(data);
		int data=87;
		//LInner ref=null;
		class LInner{
			private int val=1111;
			//static int stvar=2222;
			static final int CONS=4444;
			void showOfLInner(){
				String msg="LInner-local";
				System.out.println("**LInner-showOfLInner()**");
				System.out.println(xy);
				//System.out.println(data);
			}
		}
		//System.out.println(val);
		LInner lref=new LInner();
		System.out.println(lref.val);
		lref.showOfLInner();
	}
}
